//
//  CallOutAnnotationView.h
//  自定义注释地图
//
//  Created by suyibaishan on 16/3/4.
//  Copyright © 2016年 suyibaishan. All rights reserved.
//

#import <MapKit/MapKit.h>

#define  Arror_height 15

@protocol CallOutAnnotationViewDelegate;

@interface CallOutAnnotationView : MKAnnotationView

@property (nonatomic,strong)UIView *contentView;


- (id)initWithAnnotation:(id<MKAnnotation>)annotation
         reuseIdentifier:(NSString *)reuseIdentifier
                delegate:(id<CallOutAnnotationViewDelegate>)delegate;
@end

@protocol CallOutAnnotationViewDelegate <NSObject>

- (void)didSelectAnnotationView:(CallOutAnnotationView *)view;

@end
